package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.CapitalExpenditure;import org.apache.ibatis.annotations.Param;import java.util.List;

public interface CapitalExpenditureMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CapitalExpenditure record);

    int insertSelective(CapitalExpenditure record);

    CapitalExpenditure selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CapitalExpenditure record);

    int updateByPrimaryKey(CapitalExpenditure record);

    List<CapitalExpenditure> findAll();

    List<CapitalExpenditure> selectListByPage(@Param("page") Integer page, @Param("limit") Integer limit);

    List<CapitalExpenditure> findAll(CapitalExpenditure capitalExpenditure);
}